package cn.net.csit.platform_cloud.basicmodel.domain;

import java.util.ArrayList;
import java.util.List;

public class BasicPropertyDictionaryDomainExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BasicPropertyDictionaryDomainExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andPropCodeIsNull() {
            addCriterion("prop_code is null");
            return (Criteria) this;
        }

        public Criteria andPropCodeIsNotNull() {
            addCriterion("prop_code is not null");
            return (Criteria) this;
        }

        public Criteria andPropCodeEqualTo(String value) {
            addCriterion("prop_code =", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeNotEqualTo(String value) {
            addCriterion("prop_code <>", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeGreaterThan(String value) {
            addCriterion("prop_code >", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeGreaterThanOrEqualTo(String value) {
            addCriterion("prop_code >=", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeLessThan(String value) {
            addCriterion("prop_code <", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeLessThanOrEqualTo(String value) {
            addCriterion("prop_code <=", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeLike(String value) {
            addCriterion("prop_code like", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeNotLike(String value) {
            addCriterion("prop_code not like", value, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeIn(List<String> values) {
            addCriterion("prop_code in", values, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeNotIn(List<String> values) {
            addCriterion("prop_code not in", values, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeBetween(String value1, String value2) {
            addCriterion("prop_code between", value1, value2, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropCodeNotBetween(String value1, String value2) {
            addCriterion("prop_code not between", value1, value2, "propCode");
            return (Criteria) this;
        }

        public Criteria andPropNameIsNull() {
            addCriterion("prop_name is null");
            return (Criteria) this;
        }

        public Criteria andPropNameIsNotNull() {
            addCriterion("prop_name is not null");
            return (Criteria) this;
        }

        public Criteria andPropNameEqualTo(String value) {
            addCriterion("prop_name =", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameNotEqualTo(String value) {
            addCriterion("prop_name <>", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameGreaterThan(String value) {
            addCriterion("prop_name >", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameGreaterThanOrEqualTo(String value) {
            addCriterion("prop_name >=", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameLessThan(String value) {
            addCriterion("prop_name <", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameLessThanOrEqualTo(String value) {
            addCriterion("prop_name <=", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameLike(String value) {
            addCriterion("prop_name like", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameNotLike(String value) {
            addCriterion("prop_name not like", value, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameIn(List<String> values) {
            addCriterion("prop_name in", values, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameNotIn(List<String> values) {
            addCriterion("prop_name not in", values, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameBetween(String value1, String value2) {
            addCriterion("prop_name between", value1, value2, "propName");
            return (Criteria) this;
        }

        public Criteria andPropNameNotBetween(String value1, String value2) {
            addCriterion("prop_name not between", value1, value2, "propName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameIsNull() {
            addCriterion("prop_group_name is null");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameIsNotNull() {
            addCriterion("prop_group_name is not null");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameEqualTo(String value) {
            addCriterion("prop_group_name =", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameNotEqualTo(String value) {
            addCriterion("prop_group_name <>", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameGreaterThan(String value) {
            addCriterion("prop_group_name >", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameGreaterThanOrEqualTo(String value) {
            addCriterion("prop_group_name >=", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameLessThan(String value) {
            addCriterion("prop_group_name <", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameLessThanOrEqualTo(String value) {
            addCriterion("prop_group_name <=", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameLike(String value) {
            addCriterion("prop_group_name like", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameNotLike(String value) {
            addCriterion("prop_group_name not like", value, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameIn(List<String> values) {
            addCriterion("prop_group_name in", values, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameNotIn(List<String> values) {
            addCriterion("prop_group_name not in", values, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameBetween(String value1, String value2) {
            addCriterion("prop_group_name between", value1, value2, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropGroupNameNotBetween(String value1, String value2) {
            addCriterion("prop_group_name not between", value1, value2, "propGroupName");
            return (Criteria) this;
        }

        public Criteria andPropTypeIsNull() {
            addCriterion("prop_type is null");
            return (Criteria) this;
        }

        public Criteria andPropTypeIsNotNull() {
            addCriterion("prop_type is not null");
            return (Criteria) this;
        }

        public Criteria andPropTypeEqualTo(String value) {
            addCriterion("prop_type =", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeNotEqualTo(String value) {
            addCriterion("prop_type <>", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeGreaterThan(String value) {
            addCriterion("prop_type >", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeGreaterThanOrEqualTo(String value) {
            addCriterion("prop_type >=", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeLessThan(String value) {
            addCriterion("prop_type <", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeLessThanOrEqualTo(String value) {
            addCriterion("prop_type <=", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeLike(String value) {
            addCriterion("prop_type like", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeNotLike(String value) {
            addCriterion("prop_type not like", value, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeIn(List<String> values) {
            addCriterion("prop_type in", values, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeNotIn(List<String> values) {
            addCriterion("prop_type not in", values, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeBetween(String value1, String value2) {
            addCriterion("prop_type between", value1, value2, "propType");
            return (Criteria) this;
        }

        public Criteria andPropTypeNotBetween(String value1, String value2) {
            addCriterion("prop_type not between", value1, value2, "propType");
            return (Criteria) this;
        }

        public Criteria andPropLengthIsNull() {
            addCriterion("prop_length is null");
            return (Criteria) this;
        }

        public Criteria andPropLengthIsNotNull() {
            addCriterion("prop_length is not null");
            return (Criteria) this;
        }

        public Criteria andPropLengthEqualTo(String value) {
            addCriterion("prop_length =", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthNotEqualTo(String value) {
            addCriterion("prop_length <>", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthGreaterThan(String value) {
            addCriterion("prop_length >", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthGreaterThanOrEqualTo(String value) {
            addCriterion("prop_length >=", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthLessThan(String value) {
            addCriterion("prop_length <", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthLessThanOrEqualTo(String value) {
            addCriterion("prop_length <=", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthLike(String value) {
            addCriterion("prop_length like", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthNotLike(String value) {
            addCriterion("prop_length not like", value, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthIn(List<String> values) {
            addCriterion("prop_length in", values, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthNotIn(List<String> values) {
            addCriterion("prop_length not in", values, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthBetween(String value1, String value2) {
            addCriterion("prop_length between", value1, value2, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropLengthNotBetween(String value1, String value2) {
            addCriterion("prop_length not between", value1, value2, "propLength");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermIsNull() {
            addCriterion("prop_is_multiterm is null");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermIsNotNull() {
            addCriterion("prop_is_multiterm is not null");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermEqualTo(String value) {
            addCriterion("prop_is_multiterm =", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermNotEqualTo(String value) {
            addCriterion("prop_is_multiterm <>", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermGreaterThan(String value) {
            addCriterion("prop_is_multiterm >", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermGreaterThanOrEqualTo(String value) {
            addCriterion("prop_is_multiterm >=", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermLessThan(String value) {
            addCriterion("prop_is_multiterm <", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermLessThanOrEqualTo(String value) {
            addCriterion("prop_is_multiterm <=", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermLike(String value) {
            addCriterion("prop_is_multiterm like", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermNotLike(String value) {
            addCriterion("prop_is_multiterm not like", value, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermIn(List<String> values) {
            addCriterion("prop_is_multiterm in", values, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermNotIn(List<String> values) {
            addCriterion("prop_is_multiterm not in", values, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermBetween(String value1, String value2) {
            addCriterion("prop_is_multiterm between", value1, value2, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropIsMultitermNotBetween(String value1, String value2) {
            addCriterion("prop_is_multiterm not between", value1, value2, "propIsMultiterm");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeIsNull() {
            addCriterion("prop_data_type is null");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeIsNotNull() {
            addCriterion("prop_data_type is not null");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeEqualTo(String value) {
            addCriterion("prop_data_type =", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeNotEqualTo(String value) {
            addCriterion("prop_data_type <>", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeGreaterThan(String value) {
            addCriterion("prop_data_type >", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("prop_data_type >=", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeLessThan(String value) {
            addCriterion("prop_data_type <", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeLessThanOrEqualTo(String value) {
            addCriterion("prop_data_type <=", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeLike(String value) {
            addCriterion("prop_data_type like", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeNotLike(String value) {
            addCriterion("prop_data_type not like", value, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeIn(List<String> values) {
            addCriterion("prop_data_type in", values, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeNotIn(List<String> values) {
            addCriterion("prop_data_type not in", values, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeBetween(String value1, String value2) {
            addCriterion("prop_data_type between", value1, value2, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataTypeNotBetween(String value1, String value2) {
            addCriterion("prop_data_type not between", value1, value2, "propDataType");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceIsNull() {
            addCriterion("prop_data_source is null");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceIsNotNull() {
            addCriterion("prop_data_source is not null");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceEqualTo(String value) {
            addCriterion("prop_data_source =", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceNotEqualTo(String value) {
            addCriterion("prop_data_source <>", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceGreaterThan(String value) {
            addCriterion("prop_data_source >", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceGreaterThanOrEqualTo(String value) {
            addCriterion("prop_data_source >=", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceLessThan(String value) {
            addCriterion("prop_data_source <", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceLessThanOrEqualTo(String value) {
            addCriterion("prop_data_source <=", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceLike(String value) {
            addCriterion("prop_data_source like", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceNotLike(String value) {
            addCriterion("prop_data_source not like", value, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceIn(List<String> values) {
            addCriterion("prop_data_source in", values, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceNotIn(List<String> values) {
            addCriterion("prop_data_source not in", values, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceBetween(String value1, String value2) {
            addCriterion("prop_data_source between", value1, value2, "propDataSource");
            return (Criteria) this;
        }

        public Criteria andPropDataSourceNotBetween(String value1, String value2) {
            addCriterion("prop_data_source not between", value1, value2, "propDataSource");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}